package org.nimi317.web_gis.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author thunderobot
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BaseQuality extends BaseQualityNumber{
    /**
     * 复合主键
     */
    @ExcelProperty("时间")
    @TableField("`timestamp`")
    private LocalDateTime timestamp;

    @ExcelProperty("CO Level")
    private Integer coLevel;

    @ExcelProperty("NO2 Level")
    private Integer no2Level;

    @ExcelProperty("O3 Level")
    private Integer o3Level;

    @ExcelProperty("PM10 Level")
    private Integer pm10Level;

    @ExcelProperty("PM2.5 Level")
    private Integer pm25Level;

    @ExcelProperty("SO2 Level")
    private Integer so2Level;
}
